﻿using System;
using System.Collections.Generic;
using TrueSync;

namespace HEFramework
{
    public class SphereCollisionComponent : Entity, IAwake<FP, TSVector, TSVector>, IUpdate
    {
        public FP Radius { get; set; }
        public TSVector Pos { get; set; }
        public TSVector Center { get; set; }
        public Dictionary<long, EntityRef<Entity>> Collisions { get; set; } = new();
        public Action<Entity> EnterCollisionEvent { get; set; }
        public Action<Entity> CollisionEvent { get; set; }
        public Action<Entity> ExitCollisionEvent { get; set; }
    }
}